package com.chuxing.security.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chuxing.domain.DTO.GetUserListDTO;
import com.chuxing.domain.User;
import com.github.pagehelper.Page;

import java.util.ArrayList;
import java.util.List;

/**
* @author HP
* @description 针对表【t_user(用户信息表)】的数据库操作Mapper
* @createDate 2024-11-16 15:24:49
* @Entity com.chuxing.security.domain.User
*/
public interface UserMapper extends BaseMapper<User> {

    User selectByStudentId(String s);

    User selectByEmail(String email);

    void updateByStudentId(User user);

    void deleteUserByAdmin(List<String> ids);

    Page<User> selectUserList(GetUserListDTO getUserListDTO);

    void updateStuImageByStudentId(String stuImage, String studentId);

    void updateClassIDByStudentIds(ArrayList<String> studentIds, Long classID);

    List<User> list();
}




